package org.secangkirkopipanas.gxtcore.domain.dto;

import net.sf.hibernate4gwt.pojo.java5.LazyPojo;

import org.secangkirkopipanas.gxtcore.domain.ISystemApplicationTask;
import org.secangkirkopipanas.gxtcore.domain.ISystemGroup;
import org.secangkirkopipanas.gxtcore.domain.ISystemPermission;

public class SystemPermissionDTO extends LazyPojo implements ISystemPermission {

	private static final long serialVersionUID = 1L;

	private long id;
	private ISystemGroup group;
	private ISystemApplicationTask task;

	public SystemPermissionDTO() {
	}

	public SystemPermissionDTO(SystemGroupDTO group,
			SystemApplicationTaskDTO task) {
		this.group = group;
		this.task = task;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public ISystemGroup getGroup() {
		return group;
	}

	public void setGroup(ISystemGroup group) {
		this.group = group;
	}

	public ISystemApplicationTask getTask() {
		return task;
	}

	public void setTask(ISystemApplicationTask task) {
		this.task = task;
	}

}
